package com.antoco.operation.bigscreen.model.dto;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="PaizanNumTjDTO")
public class PaizanNumTjDTO {

    @NotNull(message = "区域标识不能为空")
    @ApiModelProperty(value = "区域标识", example="1")
    private String areaId;

    @NotNull(message = "区域名称不能为空")
    @ApiModelProperty(value = "区域名称", example="片区一")
    private String areaName;

    @NotNull(message = "淤积数不能为空")
    @Min(value = 0, message = "淤积数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "淤积数必须是整数")
    @ApiModelProperty(value = "淤积数", example="70")
    private String yujiNum;

    @NotNull(message = "破损数不能为空")
    @Min(value = 0, message = "破损数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "破损数必须是整数")
    @ApiModelProperty(value = "破损数", example="70")
    private String posunNum;

    @NotNull(message = "错位数不能为空")
    @Min(value = 0, message = "错位数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "错位数必须是整数")
    @ApiModelProperty(value = "错位数", example="70")
    private String cuoweiNum;

    @NotNull(message = "堵塞数不能为空")
    @Min(value = 0, message = "堵塞数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "堵塞数必须是整数")
    @ApiModelProperty(value = "堵塞数", example="70")
    private String duseNum;

    @NotNull(message = "淤积未开始数不能为空")
    @Min(value = 0, message = "淤积未开始数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "淤积未开始数必须是整数")
    @ApiModelProperty(value = "淤积未开始数", example="70")
    private String yujiNoBeginNum;

    @NotNull(message = "淤积未完成数不能为空")
    @Min(value = 0, message = "淤积未完成数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "淤积未完成数必须是整数")
    @ApiModelProperty(value = "淤积未完成数", example="70")
    private String yujiNoFinishNum;

    @NotNull(message = "淤积已完成数不能为空")
    @Min(value = 0, message = "淤积已完成数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "淤积已完成数必须是整数")
    @ApiModelProperty(value = "淤积已完成数", example="70")
    private String yujiFinishNum;

    @NotNull(message = "破损未开始数不能为空")
    @Min(value = 0, message = "破损未开始数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "破损未开始数必须是整数")
    @ApiModelProperty(value = "破损未开始数", example="70")
    private String posunNoBeginNum;

    @NotNull(message = "破损未完成数不能为空")
    @Min(value = 0, message = "破损未完成数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "破损未完成数必须是整数")
    @ApiModelProperty(value = "破损未完成数", example="70")
    private String posunNoFinishNum;

    @NotNull(message = "破损已完成数不能为空")
    @Min(value = 0, message = "破损已完成数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "破损已完成数必须是整数")
    @ApiModelProperty(value = "破损已完成数", example="70")
    private String posunFinishNum;

    @NotNull(message = "错位未开始数不能为空")
    @Min(value = 0, message = "错位未开始数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "错位未开始数必须是整数")
    @ApiModelProperty(value = "错位未开始数", example="70")
    private String cuoweiNoBeginNum;

    @NotNull(message = "错位未完成数不能为空")
    @Min(value = 0, message = "错位未完成数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "错位未完成数必须是整数")
    @ApiModelProperty(value = "错位未完成数", example="70")
    private String cuoweiNoFinishNum;

    @NotNull(message = "错位已完成数不能为空")
    @Min(value = 0, message = "错位已完成数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "错位已完成数必须是整数")
    @ApiModelProperty(value = "错位已完成数", example="70")
    private String cuoweiFinishNum;

    @NotNull(message = "堵塞未开始数不能为空")
    @Min(value = 0, message = "堵塞未开始数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "堵塞未开始数必须是整数")
    @ApiModelProperty(value = "堵塞未开始数", example="70")
    private String duseNoBeginNum;

    @NotNull(message = "堵塞未完成数不能为空")
    @Min(value = 0, message = "堵塞未完成数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "堵塞未完成数必须是整数")
    @ApiModelProperty(value = "堵塞未完成数", example="70")
    private String duseNoFinishNum;

    @NotNull(message = "堵塞完成数不能为空")
    @Min(value = 0, message = "堵塞完成数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "堵塞完成数必须是整数")
    @ApiModelProperty(value = "堵塞完成数", example="70")
    private String duseFinishNum;
}